package com.ceres.login.service;

import com.ceres.login.pojo.Admin;

import java.util.List;

public interface AdminService {

    /**
     * 后台登录
     * @param username
     * @param password
     * @return
     */
    int login(String username,String password);

    Admin findByUsername(String username);
    void editAdminStatus(String username);
    List<Integer>findRoleByUsername(String username);
}
